package com.bolovan.infovaluta.action;

import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.StreamingResolution;
import net.sourceforge.stripes.action.UrlBinding;

import com.bolovan.infovaluta.util.RateMaps;

@UrlBinding("/api/reparse.action")
public class ReparseCron extends BaseAction {

	@DefaultHandler
	public Resolution addition() {
		RateMaps.parse();
		return new StreamingResolution("json", "{respons:{'status':'success'}");
	}
}
